package com.lj.demo.eduservice.mapper;

import com.lj.demo.eduservice.entity.CoursePublishVo;
import com.lj.demo.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lj.demo.eduservice.entity.vo.CourseWebVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author liujiang
 * @since 2020-12-03
 */
public interface  EduCourseMapper extends BaseMapper<EduCourse> {
    CoursePublishVo getCoursePubishById(String id);

    //查询课程信息和讲师信息
    CourseWebVo selectInfoWebById(String courseId);
}
